
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <form action="updateFAQ" method="get">
            <table>
                <strong>Class ID : <%= request.getAttribute("faq_id")%> </strong><br>            
                <input type="hidden" name="faq_id" value="<%= request.getAttribute("faq_id")%>"><br>
                <tr>
                    <td>Question</td>
                <td>  <input type="text" name="question" value="<%= request.getAttribute("question")%>"><font color="red">*</font> </td>
                </tr>
                <tr>
                    <td>Answer</td>
                    <td> <input type="text" name="answer" value="<%= request.getAttribute("answer")%>"></td> 
                </tr>                   
                <tr>
                    <td></td>
                    <td> <input type="submit" value="Update"></td>
                </tr>
            </table>
        </form>
    </body>
</html>
